public class House {
    private String address;
    private double rent;
    private Landlord landlord;

    public House(String address, double rent, Landlord landlord) {
        this.address = address;
        this.rent = rent;
        this.landlord = landlord;
    }

    public String getAddress() {
        return address;
    }

    public double getRent() {
        return rent;
    }

    public Landlord getLandlord() {
        return landlord;
    }
}